Release 10.1A: OpenEdge Development:
ADM Reference


widgetIsTrue

Returns TRUE if the value of a LOGICAL object is TRUE, otherwise FALSE. This function does not support SmartDataFields. This function returns unknown if the field is not found, if the value of the LOGICAL is unknown, if the widget is not a LOGICAL field, or if the widget is a SmartDataField. Contrast with the widgetValue function which returns a CHARACTER value.

Location: visual.p

Parameters:

INPUT name AS CHARACTER

The name of a single Dynamics object.

Returns: LOGICAL

Notes: None

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsTrue("writeToConfig":U) THEN  
 RUN genConfig. 

The following illustrates the use of this method in DHTML code for use with a Web browser:

if (logic.widgetIsTrue(‘myviewv.writeToConfig’)) 
  getConfig(); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095